package cn.hill4j.tool.spring.std.iop;

import cn.hill4j.tool.spring.ext.iop.jdkproxy.IopMethodInvokerHandler;
import org.springframework.stereotype.Component;

import java.lang.reflect.Method;

@Component
public class SimpleInvoker implements IopMethodInvokerHandler {
    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        return method.getName() + ":SimpleInvoker.invoke";
    }
}
